import request from '@/utils/request'

// 列表
export function requestList(data) {
	return request({
		url: '/contractManage/info/getPageList',
		method: 'post',
		data: data
	})
}

// 详情
export function requestDetail(uuid) {
	return request({
		url: '/contractManage/info/queryById/' + uuid,
		method: 'post'
	})
}

// 新增
export function requestAdd(data) {
	return request({
		url: '/contractManage/info/add',
		method: 'post',
		data: data
	})
}

// 修改
export function requestUpdate(data) {
	return request({
		url: '/contractManage/info/update',
		method: 'post',
		data: data
	})
}

// 删除
export function requestDel(data) {
	return request({
		url: '/contractManage/info/delete',
		method: 'post',
		data: data
	})
}

//导出
export function exportTableExcel(query) {
	return request({
		url: '/contractManage/info/export',
		method: 'get',
		params: query,
		responseType: 'blob'
	})
}